package com.meituan.catering.management.order.biz.model;

import com.meituan.catering.management.common.model.biz.BaseBO;
import com.meituan.catering.management.order.api.http.model.enumeration.CateringOrderPaymentChannelEnum;
import com.meituan.catering.management.order.api.http.model.enumeration.CateringOrderStatusEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 订单BO定义
 */
@Data
public class CateringOrderBO extends BaseBO {
    /**
     * 订单状态
     */
    private CateringOrderStatusEnum status;
    /**
     * 座位号
     */
    private String tableNo;
    /**
     * 用餐人数
     */
    private Integer customerCount;

    /**
     * 订单总价
     */
    private BigDecimal totalPrice;

    /**
     * 备注
     */
    private String comment;
    /**
     * 门店id
     */
    private Long shopId;
    /**
     * 门店业务号
     */
    private String shopBusinessNo;
    /**
     * 门店名
     */
    private String shopName;
    /**
     * 优惠金额
     */
    private BigDecimal billingPromotion;
    /**
     * 支付金额
     */
    private BigDecimal billingPaid;
    /**
     * 支付渠道
     */
    private CateringOrderPaymentChannelEnum billingPaymentChannel;
    /**
     * 订单子列表
     */
    private List<CateringOrderItemBO> cateringOrderItemBOList=new ArrayList<>();

}